package com.ay277.htqoa.quartz;

import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

/**
 * Created by Administrator on 2016/12/21.
 */
@Component
public class MyJob {
    @Scheduled(cron = "0/5 * * * * ?")
    public void JobTest(){
        System.out.println("test");
    }
}
